package cn.tedu.ivos.geofence.pojo.entity;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

/**
 * entity包下的类Geofence是用于： 将数据封装为entity对象，然后保存/更新到数据库
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class Geofence {
    @Schema(description = "围栏编号")
    private Long id;
    @Schema(description = "围栏名称")
    private String name;
    @Schema(description = "围栏状态")
    private String status;
    @Schema(description = "围栏坐标点")
    private String position;
    @Schema(description = "创建时间")
    private Date createTime;
    @Schema(description = "更新时间")
    private Date updateTime;
}